package edu.fhsu.csci468;

import java.util.EventObject;

public class SensorEvent extends EventObject
{
	/** Unique Identification for Event */
	private static final long serialVersionUID = -9014823615738882183L;

	private int sensorID;
	private SensorAction action;
	
	public int getSensorID()
	{
		return sensorID;
	}
	
	public SensorAction getSensorAction()
	{
		return action;
	}
	
	public SensorEvent(Object source)
	{
		super(source);
	}

	public SensorEvent(Object source, int sensorID, SensorAction action)
	{
		super(source);
		this.sensorID = sensorID;
		this.action = action;
	}

}
